package top.fangw.tenant.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import top.fangw.common.core.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 用途：提供不同类型的套餐时长、开发功能菜单范围
 * </p>
 *
 * @author fangw
 * @since 2024-01-16
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("g_tbl_tenant_package_info")
@Schema(name = "TenantPackageInfo", description = "用途：提供不同类型的套餐时长、开发功能菜单范围")
public class TenantPackageInfo extends BaseEntity {


    @Schema(description = "套餐费用")
    @TableField("price")
    private BigDecimal price;

    @Schema(description = "套餐时长单位为天")
    @TableField("duration")
    private Long duration;

    @Schema(description = "排序")
    @TableField("sort")
    private Integer sort;

    @Schema(description = "是否可删除0：可删除  1：不可删除")
    @TableField("is_deletable")
    private String isDeletable;
}
